52b97f3d0bd647868e5247a38f27649400948ccf,clc/modules/cluster-manager/src/main/java/com/eucalyptus/blockstorage/SnapshotManager.java,SnapshotManager,modifySnapshotAttribute,#ModifySnapshotAttributeType#,404

Before Change



        boolean result = false;
        try {
            result = Transactions.one(Snapshot.named( ctx.getUserFullName( ).asAccountFullName( ), snapshotId ), modifySnapshotAttribute);
        } catch ( NoSuchElementException ex2 ) {
            throw new ClientComputeException( "InvalidSnapshot.NotFound", "The snapshot '"+request.getSnapshotId( )+"' does not exist." );
        } catch ( ExecutionException ex1 ) {

After Change


        try {
            result = Transactions.one(
                Snapshot.named(
                    ctx.isAdministrator( ) ? null : ctx.getUserFullName( ).asAccountFullName( ),
                    snapshotId ),
                modifySnapshotAttribute );
        } catch ( NoSuchElementException ex2 ) {